package com.axjy.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by asus on 2017/9/20.
 */
public interface PermissionMapper {

    List<Integer> searchByRole(Integer rid);

    void deleteByRoleId(Integer rid);

    void addPermission(@Param("rid") Integer rid, @Param("mid") Integer mid);

}
